package com.jielin.handling.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author chenzhang
 * @date 2020/8/12 - 15:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PoliceSituationVo {
    //警情编号
    private  String policeSituationNumber;
    //警情名称
    private  String policeSituationName;
    //警情类别
    private  String policeSituationType;
    //是否有效
    private  int orPoliceSituation;
    //开始时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startDate;
    //结束花间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    //起始页
    private int pageNum;
    //每页大小数
    private int pageSize;

    //单位编号
    private String unicode;

    //报警人姓名
    private String name;

    //报警时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date callDate;

}
